package com.leyou;

import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.boot.autoconfigure.jdbc.DataSourceAutoConfiguration;
import org.springframework.scheduling.annotation.EnableScheduling;

@SpringBootApplication(exclude = DataSourceAutoConfiguration.class)
@EnableScheduling//扫描子包
public class CleanOssImgJob {
    public static void main(String[] args) {
        SpringApplication.run(CleanOssImgJob.class,args);
        System.out.println("任务调度开启了。。。");
    }
}
